package com.pattern.once.builder;

import com.pattern.once.templates.Car;
import com.pattern.once.templates.HanmaCar;

import java.util.List;

public class HanmaCarBuilder extends CarBuilder {

    private HanmaCar hanmaCar = new HanmaCar();

    @Override
    public void setSequence(List<String> list) {
        this.hanmaCar.setList(list);
    }

    @Override
    public Car getCar() {

        return hanmaCar;
    }
}
